if ENABLE_PROTOCOL_MSN

ASSEMBLY_COMPILER_COMMAND = gmcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -debug -d:DEBUG
BUILD_DIR = ../../build/
ASSEMBLY_NAME=Galaxium.Protocol.Msn.GtkGui
ASSEMBLY = $(BUILD_DIR)$(ASSEMBLY_NAME).dll

ASSEMBLY_WRAPPER = 
ASSEMBLY_WRAPPER_IN = 

PC_FILES =
PC_FILES_IN =

COMPILE_TARGET = library

REFERENCES =  \
	$(GLADE_SHARP_LIBS) \
	$(GLIB_SHARP_LIBS) \
	$(GTK_SHARP_LIBS) \
	-pkg:anculus-core \
	-pkg:anculus-gui \
	-r:../../build/Galaxium.Client.dll \
	-r:../../build/Galaxium.Core.dll \
	-r:../../build/Galaxium.Gui.dll \
	-r:../../build/Galaxium.Gui.GtkGui.dll \
	-r:../../build/Galaxium.Protocol.dll \
	-r:../../build/Galaxium.Protocol.Gui.dll \
	-r:../../build/Galaxium.Protocol.Msn.dll \
	-r:../../build/libswfdec-sharp.dll \
	-r:Mono.Cairo \
	-r:System \
	-r:System.Web \
	-r:System.Xml

RESOURCES =  \
	Galaxium.Protocol.Msn.GtkGui.addin \
	Icons/small_galaxium-msn.png \
	Resources/AccountSettingsDialog.glade \
	Resources/InviteContactDialog.glade \
	Resources/MsnPreferenceWidget.glade 
EXTRAS = 
DATA_FILES = 

FILES =  \
	Commands/ContactListMenuCommands.cs \
	Commands/ConversationInputToolbarCommands.cs \
	Commands/ConversationMenuCommand.cs \
	Commands/ConversationMenuCommands.cs \
	Commands/ConversationToolbarCommands.cs \
	Commands/SessionMenuCommand.cs \
	Commands/SessionMenuCommands.cs \
	Commands/ViewMenuCommands.cs \
	ContactListTooltip.cs \
	ContactTree/BasicContactTreeNodeBuilder.cs \
	ContactTree/BasicContactTreeSorter.cs \
	ContactTree/BasicContactTreeView.cs \
	Dialogs/AccountSettingsDialog.cs \
	EmoticonLabel.cs \
	MsnAccountWidget.cs \
	MsnChatWidget.cs \
	MsnContactTreeManager.cs \
	MsnProtocolFactory.cs \
	MsnSessionWidget.cs \
	Preferences/MsnPreferenceWidget.cs \
	Preferences/MsnPreferenceWidget.Interface.cs \
	Preferences/MsnPreferenceWidget.Winks.cs \
	Utilities/MsnWidgetUtility.cs \
	Utilities/WinkStorageUtility.cs \
	WinkDisplay.cs \
	WinkSelectionPopup.cs

GENERATED_FILES = AssemblyInfo.cs

all: $(ASSEMBLY)

$(ASSEMBLY) $(ASSEMBLY).mdb: $(build_sources) $(build_resources) $(build_datafiles) 
	mkdir -p $(dir $(ASSEMBLY))		
	$(ASSEMBLY_COMPILER_COMMAND) $(ASSEMBLY_COMPILER_FLAGS) -out:$@ -target:$(COMPILE_TARGET) $(build_sources) $(build_resources_embed) $(build_references_ref)

include $(top_srcdir)/Makefile.include

else
endif
